{template 'common/header'}
<ul class="nav nav-tabs">
	<li {if $do == 'list'}class="active"{/if}><a href="{php echo url('members/muser/list');}">用户信息</a></li>
	<li {if $do == 'post' && !$id}class="active"{/if}><a href="{php echo url('members/muser/post');}">用户充值</a></li>
    {if $_W['isfounder']}
     <li {if $do == 'mlist'}class="active"{/if}><a href="{php echo url('members/muser/mlist');}">用户列表</a></li>
    <li {if $do == 'payset'}class="active"{/if}><a href="{php echo url('members/muser/payset');}">支付设置</a></li>
    <li {if $do == 'mkset'}class="active"{/if}><a href="{php echo url('members/mkdel/mkset');}">相关设置</a></li>   
    {/if}
</ul>
{if $_W['isfounder']}
<form class="form-horizontal form" id="form1" action="" method="post" enctype="multipart/form-data">
		<input type="hidden" name="sid" value="{$sid}">
		<div class="main">
			<div class="panel panel-default">
				<div class="panel-heading">模块相关设置</div>
				<div class="panel-body">
                    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class="require">* </span>模块检测</label>
						<div class="col-sm-9 col-xs-12">
                        {if $starsit==0}
							<a href="{php echo url('members/mkdel/go')}" class="btn btn-success"><i class="fa fa-circle"></i> 开启</a>
                            
                            <a href="{$_W['siteroot']}web/source/member/common/startjk.php" class="btn btn-success"><i class="fa fa-circle"></i> 开启自动检测</a>
                            
                        {elseif $starsit==1}
                            <a href="{php echo url('members/mkdel/go')}" class="btn btn-danger"><i class="fa fa-circle"></i> 已开启</a>
                        {/if}
                            <span id="helpBlock" class="help-block">开启之后每24小时检测一次模块到期时间，到期后将自动停止该模块的使用。（重启web服务器后请重新开启改设置）</span>

						</div>
					</div>		
				</div>
			</div>		
			
		</div>
	</form>
{/if}


{template 'common/footer'}